package com.tulingxueyuan.mall.modules.oms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author zhaofuhao
 * @since 2022-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("oms_cart_item")
@ApiModel(value="OmsCartItem对象", description="购物车表")
public class OmsCartItem implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    private Long productId;

    private Long productSkuId;

    private Long memberId;


    private Integer quantity=1;


    private BigDecimal price;


    private String sp1;


    private String sp2;


    private String sp3;


    private String productPic;


    private String productName;


    private String productSubTitle;


    private String productSkuCode;


    private String memberNickname;


    private Date createDate;


    private Date modifyDate;


    @TableLogic(value ="0",delval = "1")
    private Integer deleteStatus;


    private Long productCategoryId;

    private String productBrand;

    private String productSn;


    private String productAttr;


}
